package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.RateSchemeDetail;
import com.fdb.efp.nls.service.vo.RateSchemeDetailVO;

import java.util.List;

/**
 * <p>DAO interface:利率方案配置明细表				<p>
 * @author fuzm
 * @date 2018-05-08
 */
    public interface RateSchemeDetailDao {
	
	public int insertRateSchemeDetail(RateSchemeDetail rateSchemeDetail);
	
	public int deleteByPk(RateSchemeDetail rateSchemeDetail);
	public int deleteByScheme(RateSchemeDetail rateSchemeDetail);

	public int updateByPk(RateSchemeDetail rateSchemeDetail);
	
	public RateSchemeDetail queryByPk(RateSchemeDetail rateSchemeDetail);
	public RateSchemeDetail queryByschemeNoTerm(RateSchemeDetailVO rateSchemeDetail);
	public List<RateSchemeDetail> queryByschemeNo(RateSchemeDetail rateSchemeDetail);

	public List<RateSchemeDetail> queryAllOwnerByPage(RateSchemeDetailVO rateSchemeDetail);
	
	public List<RateSchemeDetail> queryAllCurrOrgByPage(RateSchemeDetailVO rateSchemeDetail);
	
	public List<RateSchemeDetail> queryAllCurrDownOrgByPage(RateSchemeDetailVO rateSchemeDetail);

}
